package com.firexxx.study.threadpool;

/**
 * @description: TODO
 * @author: zhuangzhang2
 * @date: 2020-11-05 09:35
 */
public interface ITask<T, R> {

    void setData(T data);

    T getData();

    R getResult();

    boolean run();

}
